using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;

namespace BibleScreen
{
    public partial class OptionsForm : Form
    {
        public OptionsForm()
        {
            InitializeComponent();
            load();
        }

        private void closeButton_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void load()
        {
            using (var reader = new StreamReader(Assembly.GetExecutingAssembly().GetManifestResourceStream("BibleScreen.README.txt")))
            {
                readMeBox.Text = reader.ReadToEnd();
            }

            readMeBox.Select(0, 0);
            closeButton.Select();
        }
    }
}